<?php

namespace app\yj\model;

use think\Model;

class NoticeModel extends Model
{
    //
    protected $table = 'notice';
    public $autoWriteTimestamp = false;

    public function setImgsAttr($value)
    {
        return json_encode($value);
    }

    public function getImgsAttr($value)
    {
        return json_decode($value, true);
    }

    public function setFjAttr($value)
    {
        return json_encode($value);
    }

    public function getFjAttr($value)
    {
        return json_decode($value, true);
    }

    public function setSeeAttr($value)
    {
        return json_encode($value);
    }

    public function getSeeAttr($value)
    {
        return json_decode($value, true);
    }
}
